// 个人中心
import Layout from "@/views/layout.vue";
export const user = {
    path: "user",
    name: "user",
    component: Layout,
    // redirect: '/index',
    meta: {
        title: "个人中心",
        icon: "",
    },
    children: [
        {
            path: "mymanagement",
            name: "mymanagement",
            component: Layout,
            meta: {
                title: "我的管理",
                icon: "",
            },
            children: [
                {
                    path: "userinfo",
                    name: "userinfo",
                    component: () => import("@/views/user/mymanagement/userinfo.vue"),
                    meta: {
                        title: "基本信息",
                        icon: "",
                        list: ["个人中心", "我的管理"],
                    },
                },
                {
                    path: "accountsecurity",
                    name: "accountsecurity",
                    component: () => import("@/views/user/mymanagement/accountsecurity.vue"),
                    meta: {
                        title: "账号与安全",
                        icon: "",
                        list: ["个人中心", "我的管理"],
                    },
                },
                {
                    path: "certificateauth",
                    name: "certificateauth",
                    component: () => import("@/views/user/mymanagement/certificateauth.vue"),
                    meta: {
                        title: "个人认证",
                        icon: "",
                        list: ["个人中心", "我的管理"],
                    },
                },
            ],
        },
        {
            path: "myapplication",
            name: "myapplication",
            component: Layout,
            meta: {
                title: "我的应用",
                icon: "",
            },
            children: [
                {
                    path: "msgcenter",
                    name: "msgcenter",
                    component: () => import("@/views/user/myapplication/msgcenter.vue"),
                    meta: {
                        title: "消息中心",
                        icon: "",
                        list: ["个人中心", "我的应用"],
                    },
                },
            ],
        },
    ],
};
